﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Dynamic;

namespace Windy.Json
{
    [Serializable]
    public class JsonDomException : ApplicationException
    {
        public JsonDomException(string message, JsonNotation notation)
            : this(string.Format("{0}\r\nNotation:{1}", message, notation))
        { }
        public JsonDomException() { }
        public JsonDomException(string message) : base(message) { }
        public JsonDomException(string message, Exception inner) : base(message, inner) { }
        protected JsonDomException(
          System.Runtime.Serialization.SerializationInfo info,
          System.Runtime.Serialization.StreamingContext context)
            : base(info, context) { }
    }
}